package com.sddz.pacs.service;

import com.github.pagehelper.PageInfo;
import com.sddz.pacs.dto.PageModelParams;
import com.sddz.pacs.entity.HealthUser;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 健康体检人员信息表 服务类
 * </p>
 *
 * @author 时代电子
 * @since 2018-09-10
 */
public interface HealthUserService extends IService<HealthUser> {

    PageInfo<HealthUser> selectHealthUserList(PageModelParams pageModelParams);

    Map indexNumber(String stationId);

    List<HealthUser> getDayData(String stationId);

    boolean insertOrUpdateUser(HealthUser user);

    Map getYearEveryMonth(String stationId);

    List<Map> getSevenDay(String stationId);

    List<Map> getMangerSevenDay();
    //近三天人员信息的
    List<HealthUser>  getThreeDays();

    Map mangerNumber();

    Map getByManWomanNum(String stationId);

    Map getManger();

    List<Map<String,Object>> getLastData();

    PageInfo<HealthUser> selectAllHealthUserList(PageModelParams pageModelParams);

    Map<String,Integer> getMapData();

}